home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MKTTY User Commands MKTTY
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- mktty - Create pseudo-terminal with 4.3 BSD line discipline
-
- SSYYNNOOPPSSIISS
- mmkkttttyy _r_a_w_T_t_y _p_d_e_v_N_a_m_e [_c_o_m_m_a_n_d _a_r_g _a_r_g ...]
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- Given a raw serial line device, mmkkttttyy generates a pseudo-
- device that behaves like a terminal under 4.3 BSD UNIX, with
- most of the features of the 4.3 BSD terminal driver. _R_a_w_T_t_y
- is the name of a device file for a serial line. TTttyy will
- read keyboard input from this file in raw mode and write
- screen output to the file, also in raw mode. TTttyy will
- create a pseudo-device at _p_d_e_v_N_a_m_e; input from _r_a_w_T_t_y will
- appear as input on _p_d_e_v_N_a_m_e after line-editing and other
- input-related features of the 4.3 BSD terminal driver. Out-
- put to _p_d_e_v_N_a_m_e will eventually appear as output on _r_a_w_T_t_y,
- after processing that simulates the features of the 4.3 BSD
- terminal driver. All of the 4.3 BSD I/O-control operations
- may be performed on _p_d_e_v_N_a_m_e, except for the exceptions
- listed below. Thus if a user's terminal is connected to
- _r_a_w_T_t_y and if the user's applications all talk to _p_d_e_v_N_a_m_e,
- everything will behave as it did under 4.3 BSD UNIX.
-
- If _c_o_m_m_a_n_d is given as an argument to mmkkttttyy, it (and the
- following arguments) are executed with _p_d_e_v_N_a_m_e as standard
- input, standard output, and standard error.
-
- TTttyy also supports a special mode of operation where it uses
- a network connection instead of a raw serial line device.
- If _r_a_w_T_t_y contains a colon character, then it is assumed to
- have the form _h_o_s_t::_p_o_r_t_N_u_m, where _h_o_s_t is the name of a host
- and _p_o_r_t_N_u_m is a decimal port number within that host. In
- this case, mmkkttttyy will open a TCP connection to the given
- port and will use it for reading and writing characters to
- the supposed terminal. This feature is designed for use
- with the rrttttyy program, which is capable of supporting the
- other end of the TCP connection.
-
-
- UUNNIIMMPPLLEEMMEENNTTEEDD FFEEAATTUURREESS
- For details on the features implemented by mmkkttttyy, see the
- 4.3 BSD man page TTY(4). TTttyy implements all of the func-
- tionality of the 4.3 BSD ``new'' line discipline except for
- the following:
-
- o+ Control terminal: there is no ``/dev/tty'' device yet
- in Sprite.
-
-
-
-
- Sprite v.1.0 Printed: April 7, 1989 1
-
-
-
-
-
-
- MKTTY User Commands MKTTY
-
-
-
- o+ Output delays, such as BS0 and TAB0 are not imple-
- mented; the delay-related flags in sgttyb structs are
- ignored, except for XTABS, which doesn't specify a
- delay and is implemented.
-
- o+ Parity is not generated or checked.
-
- o+ The LTILDE, LTOSTOP, LETXACK, and LINTRUP local mode
- flags are ignored.
-
- TTttyy only implements the ``new'' line discipline: the
- ``old'' and ``net'' disciplines are not implemented.
-
-
- KKEEYYWWOORRDDSS
- line discipline, pseudo-device, terminal driver
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: April 7, 1989 2
-
-
-
-